﻿using FreeSql.Internal.Model;
using LF.Common;

namespace LF.Domain.Helper
{
    public class StringMonthOnly : TypeHandler<MonthOnly>
    {
        public override MonthOnly Deserialize(object value)
        {
            return MonthOnly.Parse(value.ToString());
        }

        public override object Serialize(MonthOnly value)
        {
            return value.ToString();
        }
    }
}

